package cn.edu.swpu.cins.u_chain.frontend.service.team;

import cn.edu.swpu.cins.u_chain.frontend.entity.dto.team.TeamDetailInfos;
import cn.edu.swpu.cins.u_chain.frontend.entity.dto.team.TeamPros;
import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.team.TeamInfo;

import java.util.List;

public interface TeamService {
    int addTeam(TeamInfo teamInfo, int userId);

    List<TeamPros> getTeamProsByUserId(int userId, int pageNum);

    TeamDetailInfos selectTeamDetailInfoById(int teamId);
}
